package com.boang.array;

import java.util.Arrays;

/*
    @author:sa
    @date:2024/11/21 16:57
*/
public class ArraysDemo {
    public static void main(String[] args) {
        int[] arr = new int[]{1, 2, 3};
        int[] ints = Arrays.copyOf(arr, 5);
        String string = Arrays.toString(ints);
        System.out.println(string);
    }
}